<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script>
function cell()
{
var x=document.getElementById('myTable').rows[1].cells;
alert(x[3].innerHTML);
}

function cell2()
{
var x=document.getElementById('1').innerHTML;
alert(x);
}
</script>
</head>
<body>

<table id="myTable">
	<tr>
		<th>1</th>
		<th>2</th>
	</tr>
	<tr>
		<td id="1">123</td>
		<td style="display:none;">456</td>
		<td>321</td>
	</tr>
</table>
		<!-- <div class="">
        	<form class="form-horizontal" id="repay_form">
			  <div class="form-group">
			    <label for="psName_add_input" class="col-sm-2 control-label">回报类型 : </label>
			    <div class="radio">
  					<label>
    					<input type="radio" name="optionsRadios" id="optionsRadios1" value="0" checked /> <b>实物回报(回报需邮寄)</b>
  					</label>
  					<label>
    					<input type="radio" name="optionsRadios" id="optionsRadios2" value="1" /> <b>虚拟回报(回报无需邮寄)</b>
  					</label>
				</div>
			  </div>
			  <div class="form-group">
			    <label for="repay_money_input" class="col-sm-2 control-label">支付金额 : </label>
			    <div class="col-sm-10">
			      <input type="text" class="form-control" id="repay_money" placeholder="请输入需要用户支持的金额 ~" />
			      <span class="help-block">
			      </span>
			    </div>
			  </div>
			  <div class="form-group">
			    <label for="repay_rule_input" class="col-sm-2 control-label">具体规则 : </label>
			    <div class="col-sm-10">
			      <textarea class="form-control" id="repay_rule" placeholder="请输入规则 ~" ></textarea>
			      <span class="help-block">
			      </span>
			    </div>
			  </div>
			  <div class="form-group">
			    <label for="repay_content_input" class="col-sm-2 control-label">回报内容 : </label>
			    <div class="col-sm-10">
			      <textarea name="comments" class="form-control" id="repay_content" placeholder="请输入具体的内容吧 ~"></textarea>
			      <span class="help-block">
			      </span>
			    </div>
			  </div>
			  <div class="form-group">
			    <label for="repay_number_input" class="col-sm-2 control-label">回报人数 : </label>
			    <div class="col-sm-10">
			      <input type="text" class="form-control" id="repay_number" placeholder="请输入人数 (不为 0)~" />
			      <span class="help-block">
			      </span>
			    </div>
			  </div>
			  <div class="form-group">
			    <label for="repay_time_input" class="col-sm-2 control-label">回报时间 : </label>
			    <div class="col-sm-10">
			      <input type="text" class="form-control" id="repay_time" placeholder="请输入时间 (0为众筹成功后立即发货,1为众筹成功后一天之内发货)~" />
			      <span class="help-block">
			      </span>
			    </div>
			  </div>
			</form>
      	</div>
      	<div class="repay_button">
      		<button type="button" class="btn btn-default" id="repay_reset">重置</button>
        	<button type="button" class="btn btn-primary" id="repay_save">提交</button>
      	</div>
      	
      	<button type="button" class="btn btn-danger" id="repay_add_form"><span class="glyphicon glyphicon-plus">继续添加新的回报</span></button> -->
<br/>
<hr>
<input type="button" onclick="cell2()" value="Alert first cell">

</body>
</html>